package top.go2do.websiteNavigation.configProperties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * @Description
 * @Author xingyj
 * @CreateTime 2025/6/18 11:03
 */
@ConfigurationProperties(prefix = "custom.email")
@Component
@Data
public class EmailModuleConfig {

    private Integer registerCodeLength = 6;

    /**
     * 注册账户时，邮箱验证码的过期时间(分钟)
     */
    private Integer registerCodeExpireMINUTE = 5;

}
